import reuquest from '@/utils/request.js'

// 租赁产品列表
export const productRentListApi = (data = {}, options = { loading: false }) => {
	return reuquest.get('/apiapp/v1/product/rent_list', data, options)
}

// 售卖产品列表
export const productSellListApi = (data = {}, options = { loading: false }) => {
	return reuquest.get('/apiapp/v1/product/iselling_list', data, options)
}

// 详情
export const productDetailsApi = (gid, data = {}, options = { loading: true }) => {
	return reuquest.get(`/apiapp/v1/product/details?gid=${gid}`, data, options)
}
